package com.appwoo.txtws.activity;

import android.app.Dialog;
import android.content.Context;
import android.content.Intent;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.view.Display;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.view.Window;
import android.view.WindowManager;
import android.widget.AbsListView;
import android.widget.AbsListView.OnScrollListener;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemClickListener;
import android.widget.AdapterView.OnItemLongClickListener;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.ImageView;
import android.widget.LinearLayout.LayoutParams;
import android.widget.ListView;
import android.widget.PopupWindow;
import android.widget.RelativeLayout;
import android.widget.SimpleAdapter;
import android.widget.TextView;
import com.appwoo.android.exception.NotFoundNetWorkException;
import com.appwoo.android.exception.TimeOutException;
import com.appwoo.txtws.adapter.ListViewCreator;
import com.appwoo.txtws.adapter.Page;
import com.appwoo.txtws.adapter.SimpleListAdapter;
import com.appwoo.txtws.app.App;
import com.appwoo.txtws.app.AppActivity;
import com.appwoo.txtws.bean.SmsBean;
import com.appwoo.txtws.bean.StateBean;
import com.appwoo.txtws.component.RqSP;
import com.appwoo.txtws.service.SearchRecordService;
import com.appwoo.txtws.wheel.widget.PageListView;
import com.appwoo.txtws.wheel.widget.PageListView.OnRefreshListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.xmlpull.v1.XmlPullParserException;

public class FindSmsRecord extends AppActivity
{
  private static final String TAG = "FindSmsRecord";
  private static SmsBean asi;
  private String TIMES;
  private SimpleListAdapter<SmsBean> adapter;
  private StateBean bean;
  private boolean blDataTask;
  private Button cancle;
  private Button delete;
  private SmsBean delete_calls;
  private String delete_calls_info;
  private int dialgoWidth;
  private int dialgoheight;
  private ArrayList<SmsBean> events;
  private int flag = 0;
  private int flagid;
  private boolean isFoot;
  private ListView list;
  private PageListView lvList;
  private HashMap<String, Integer> maplist;
  private ImageView moreset;
  private HashMap<String, Integer> new_maplist;
  ArrayList<SmsBean> newlist;
  private Page<SmsBean> page = new Page();
  private String per_num;
  private PopupWindow popupWindow;
  private ViewGroup popupWindow_view;
  private PopupWindow popupWindows;
  private RelativeLayout rl;
  private int screenHeight;
  private int screenWidth;
  private boolean sel_all = false;
  private Integer times;

  private void addSms()
  {
    for (int i = 0; ; i++)
    {
      if (i >= this.page.getEntries().size())
        return;
      this.newlist.add((SmsBean)this.page.getEntries().get(i));
      this.maplist.put(String.valueOf(((SmsBean)this.page.getEntries().get(i)).getId()), Integer.valueOf(((SmsBean)this.page.getEntries().get(i)).getId()));
    }
  }

  private void getPopupWindow(View paramView)
  {
    if ((this.popupWindow != null) && (this.popupWindow.isShowing()))
    {
      this.popupWindow.dismiss();
      this.popupWindow = null;
      return;
    }
    initPopuptWindow(paramView);
  }

  private void initActionBar()
  {
    setBarTitle(getResources().getString(2131428111));
    setBarBackOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        FindSmsRecord.this.finish();
      }
    });
    this.moreset = ((ImageView)findViewById(2131492864).findViewById(2131493280));
    this.moreset.setImageResource(2130837828);
    LinearLayout.LayoutParams localLayoutParams = (LinearLayout.LayoutParams)this.moreset.getLayoutParams();
    localLayoutParams.height = 45;
    localLayoutParams.width = 45;
    this.moreset.setLayoutParams(localLayoutParams);
    setBarHomeOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        FindSmsRecord.this.getPopupWindow(paramAnonymousView);
      }
    });
  }

  private void initView()
  {
    new ArrayList();
    this.new_maplist = new HashMap();
    this.newlist = new ArrayList();
    this.maplist = new HashMap();
    this.lvList = ((PageListView)findViewById(2131493065));
    this.rl = ((RelativeLayout)findViewById(2131493019));
    this.cancle = ((Button)findViewById(2131493023));
    this.cancle.setOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        FindSmsRecord.this.flag = 0;
        FindSmsRecord.this.sel_all = false;
        FindSmsRecord.this.rl.setVisibility(8);
        FindSmsRecord.this.setEvent(0);
      }
    });
    this.delete = ((Button)findViewById(2131493024));
    this.delete.setOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        if (FindSmsRecord.this.maplist.size() > 0)
        {
          new FindSmsRecord.DataTask(FindSmsRecord.this).execute(new String[] { "delsms" });
          return;
        }
        FindSmsRecord.this.alertMessage("没有选择数据。");
      }
    });
    this.adapter = new SimpleListAdapter(this.page.getEntries(), new ListViewCreator()
    {
      public View createView(final SmsBean paramAnonymousSmsBean, View paramAnonymousView, int paramAnonymousInt)
      {
        int i = paramAnonymousSmsBean.getStype();
        FindSmsRecord.this.flagid = paramAnonymousSmsBean.getSid();
        if (paramAnonymousView == null)
          paramAnonymousView = App.getLayoutInflater().inflate(2130903179, null);
        switch (i)
        {
        default:
          return paramAnonymousView;
        case 1:
          View localView2 = App.getLayoutInflater().inflate(2130903113, null);
          TextView localTextView3 = (TextView)localView2.findViewById(2131493126);
          TextView localTextView4 = (TextView)localView2.findViewById(2131493128);
          TextView localTextView5 = (TextView)localView2.findViewById(2131493129);
          final CheckBox localCheckBox2 = (CheckBox)localView2.findViewById(2131493011);
          if (FindSmsRecord.this.flag == 1)
          {
            localCheckBox2.setVisibility(0);
            if (FindSmsRecord.this.flagid != 1)
              break label232;
            localCheckBox2.setChecked(true);
          }
          while (true)
          {
            localCheckBox2.setOnClickListener(new View.OnClickListener()
            {
              public void onClick(View paramAnonymous2View)
              {
                if (localCheckBox2.isChecked())
                {
                  paramAnonymousSmsBean.setSid(1);
                  FindSmsRecord.asi = paramAnonymousSmsBean;
                  FindSmsRecord.this.newlist.add(paramAnonymousSmsBean);
                  FindSmsRecord.this.maplist.put(String.valueOf(paramAnonymousSmsBean.getId()), Integer.valueOf(FindSmsRecord.asi.getId()));
                }
                do
                {
                  return;
                  paramAnonymousSmsBean.setSid(0);
                  FindSmsRecord.asi = paramAnonymousSmsBean;
                  if (FindSmsRecord.this.maplist.containsKey(paramAnonymousSmsBean.getId()))
                    FindSmsRecord.this.maplist.remove(paramAnonymousSmsBean.getId());
                }
                while (!FindSmsRecord.this.newlist.contains(paramAnonymousSmsBean));
                FindSmsRecord.this.newlist.remove(paramAnonymousSmsBean);
              }
            });
            localTextView3.setText(paramAnonymousSmsBean.getStime());
            localTextView4.setText(paramAnonymousSmsBean.getScontent());
            localTextView5.setText(" :" + paramAnonymousSmsBean.getSname());
            return localView2;
            if (FindSmsRecord.this.flag != 0)
              break;
            localCheckBox2.setVisibility(8);
            break;
            label232: localCheckBox2.setChecked(false);
          }
        case 2:
        }
        View localView1 = App.getLayoutInflater().inflate(2130903137, null);
        TextView localTextView1 = (TextView)localView1.findViewById(2131493126);
        TextView localTextView2 = (TextView)localView1.findViewById(2131493128);
        final CheckBox localCheckBox1 = (CheckBox)localView1.findViewById(2131493011);
        if (FindSmsRecord.this.flag == 1)
        {
          localCheckBox1.setVisibility(0);
          if (FindSmsRecord.this.flagid != 1)
            break label369;
          localCheckBox1.setChecked(true);
        }
        while (true)
        {
          localCheckBox1.setOnClickListener(new View.OnClickListener()
          {
            public void onClick(View paramAnonymous2View)
            {
              if (localCheckBox1.isChecked())
              {
                paramAnonymousSmsBean.setSid(1);
                FindSmsRecord.asi = paramAnonymousSmsBean;
                FindSmsRecord.this.newlist.add(paramAnonymousSmsBean);
                FindSmsRecord.this.maplist.put(String.valueOf(paramAnonymousSmsBean.getId()), Integer.valueOf(FindSmsRecord.asi.getId()));
              }
              do
              {
                return;
                paramAnonymousSmsBean.setSid(0);
                FindSmsRecord.asi = paramAnonymousSmsBean;
                if (FindSmsRecord.this.maplist.containsKey(paramAnonymousSmsBean.getId()))
                  FindSmsRecord.this.maplist.remove(paramAnonymousSmsBean.getId());
              }
              while (!FindSmsRecord.this.newlist.contains(paramAnonymousSmsBean));
              FindSmsRecord.this.newlist.remove(paramAnonymousSmsBean);
            }
          });
          localTextView1.setText(paramAnonymousSmsBean.getStime());
          localTextView2.setText(paramAnonymousSmsBean.getScontent());
          return localView1;
          localCheckBox1.setVisibility(8);
          break;
          label369: localCheckBox1.setChecked(false);
        }
      }
    });
    this.lvList.setAdapter(this.adapter);
    this.lvList.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener()
    {
      public boolean onItemLongClick(AdapterView<?> paramAnonymousAdapterView, View paramAnonymousView, int paramAnonymousInt, long paramAnonymousLong)
      {
        if (FindSmsRecord.this.flag == 0)
        {
          FindSmsRecord.this.delete_calls = ((SmsBean)FindSmsRecord.this.page.getEntries().get(paramAnonymousInt));
          FindSmsRecord.this.delete_calls_info = "将删除当前所选的记录";
          FindSmsRecord.this.DeleteRecordDialog(FindSmsRecord.this, FindSmsRecord.this.delete_calls_info);
        }
        return false;
      }
    });
    this.lvList.setOnScrollListener(new AbsListView.OnScrollListener()
    {
      public void onScroll(AbsListView paramAnonymousAbsListView, int paramAnonymousInt1, int paramAnonymousInt2, int paramAnonymousInt3)
      {
      }

      public void onScrollStateChanged(AbsListView paramAnonymousAbsListView, int paramAnonymousInt)
      {
        if ((paramAnonymousInt == 0) && (paramAnonymousAbsListView.getLastVisiblePosition() == -1 + paramAnonymousAbsListView.getCount()) && (!FindSmsRecord.this.lvList.getIsNoMore()) && (FindSmsRecord.this.blDataTask))
        {
          FindSmsRecord.this.lvList.prepareForRefreshMore();
          FindSmsRecord.this.isFoot = true;
          FindSmsRecord.this.loadingData(false);
        }
      }
    });
    this.lvList.setOnLoadMoreListener(new PageListView.OnRefreshListener()
    {
      public void onRefresh()
      {
        FindSmsRecord.this.lvList.prepareForRefreshMore();
        FindSmsRecord.this.isFoot = true;
        FindSmsRecord.this.loadingData(true);
      }
    });
    addOperation(new DataTask().execute(new String[] { "sms" }));
  }

  private void loadingData(boolean paramBoolean)
  {
    if (paramBoolean)
      this.page.firstPage();
    while (true)
    {
      addOperation(new DataTask().execute(new String[] { "sms" }));
      return;
      this.page.nextPage();
    }
  }

  private void removeSms()
  {
    for (int i = 0; ; i++)
    {
      if (i >= this.page.getEntries().size())
        return;
      this.newlist.remove(this.page.getEntries().get(i));
      this.maplist.remove(String.valueOf(((SmsBean)this.page.getEntries().get(i)).getId()));
    }
  }

  private void setEvent(int paramInt)
  {
    if (this.page.getEntries().size() > 0);
    for (int i = 0; ; i++)
    {
      if (i >= this.page.getEntries().size())
      {
        this.adapter.notifyDataSetChanged();
        return;
      }
      ((SmsBean)this.page.getEntries().get(i)).setSid(paramInt);
    }
  }

  protected void DeleteRecordDialog(Context paramContext, String paramString)
  {
    View localView = getLayoutInflater().inflate(2130903083, null);
    final Dialog localDialog = new Dialog(paramContext, 2131361814);
    localDialog.setContentView(localView);
    ((TextView)localView.findViewById(2131492904)).setText(paramString);
    TextView localTextView1 = (TextView)localView.findViewById(2131493071);
    TextView localTextView2 = (TextView)localView.findViewById(2131493070);
    localTextView1.setOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        localDialog.dismiss();
      }
    });
    localTextView2.setOnClickListener(new View.OnClickListener()
    {
      public void onClick(View paramAnonymousView)
      {
        try
        {
          if (localDialog.isShowing())
            localDialog.dismiss();
          FindSmsRecord.this.maplist.put(FindSmsRecord.this.delete_calls.getId(), Integer.valueOf(FindSmsRecord.this.delete_calls.getId()));
          FindSmsRecord.this.newlist.add(FindSmsRecord.this.delete_calls);
          new FindSmsRecord.DataTask(FindSmsRecord.this).execute(new String[] { "delsms" });
          return;
        }
        catch (Exception localException)
        {
          localException.printStackTrace();
        }
      }
    });
    localDialog.show();
  }

  protected void backKeyCallBack()
  {
    finish();
  }

  protected void initPopuptWindow(View paramView)
  {
    try
    {
      this.screenWidth = getWindowManager().getDefaultDisplay().getWidth();
      this.screenHeight = getWindowManager().getDefaultDisplay().getHeight();
      this.popupWindow_view = ((ViewGroup)getLayoutInflater().inflate(2130903170, null, true));
      if (this.flag == 0)
      {
        this.popupWindow = new PopupWindow(this.popupWindow_view, 2 * this.screenWidth / 5, 2 * this.screenHeight / 7, true);
        this.dialgoWidth = (this.popupWindow.getWidth() / 5);
        this.dialgoheight = this.popupWindow.getHeight();
        this.popupWindow.setBackgroundDrawable(getResources().getDrawable(2130837504));
        this.popupWindow.getBackground().setAlpha(0);
        this.popupWindow.showAsDropDown(paramView, (this.screenWidth - this.dialgoWidth) / 2, 0);
        this.list = ((ListView)this.popupWindow_view.findViewById(2131493350));
        ArrayList localArrayList2 = new ArrayList();
        HashMap localHashMap3 = new HashMap();
        localHashMap3.put("menuName", "删除");
        HashMap localHashMap4 = new HashMap();
        localHashMap4.put("menuName", "搜索记录");
        HashMap localHashMap5 = new HashMap();
        localHashMap5.put("menuName", "更多设置");
        localArrayList2.add(localHashMap3);
        localArrayList2.add(localHashMap4);
        localArrayList2.add(localHashMap5);
        SimpleAdapter localSimpleAdapter2 = new SimpleAdapter(this, localArrayList2, 2130903191, new String[] { "menuName" }, new int[] { 2131493503 });
        this.list.setAdapter(localSimpleAdapter2);
        this.list.setOnItemClickListener(new AdapterView.OnItemClickListener()
        {
          private static final String TAG = "FindRecord";

          public void onItemClick(AdapterView<?> paramAnonymousAdapterView, View paramAnonymousView, int paramAnonymousInt, long paramAnonymousLong)
          {
            Log.v("FindRecord", paramAnonymousInt + "被点击了");
            if (paramAnonymousInt == 0)
            {
              FindSmsRecord.this.popupWindow.dismiss();
              FindSmsRecord.this.flag = 1;
              FindSmsRecord.this.rl.setVisibility(0);
              FindSmsRecord.this.adapter.notifyDataSetChanged();
            }
            if (paramAnonymousInt == 1)
            {
              FindSmsRecord.this.popupWindow.dismiss();
              Intent localIntent2 = new Intent();
              localIntent2.setClass(FindSmsRecord.this, SmsRecordSearch.class);
              FindSmsRecord.this.startActivity(localIntent2);
            }
            if (paramAnonymousInt == 2)
            {
              FindSmsRecord.this.popupWindow.dismiss();
              Intent localIntent1 = new Intent();
              localIntent1.setClass(FindSmsRecord.this, MoreSetActivity.class);
              FindSmsRecord.this.startActivity(localIntent1);
            }
          }
        });
        return;
      }
      if (this.flag == 1)
      {
        this.popupWindows = new PopupWindow(this.popupWindow_view, 2 * this.screenWidth / 5, 2 * this.screenHeight / 8, true);
        this.dialgoWidth = (this.popupWindows.getWidth() / 5);
        this.dialgoheight = this.popupWindows.getHeight();
        this.popupWindows.setBackgroundDrawable(getResources().getDrawable(2130837504));
        this.popupWindows.getBackground().setAlpha(0);
        this.popupWindows.showAsDropDown(paramView, (this.screenWidth - this.dialgoWidth) / 2, 0);
        this.list = ((ListView)this.popupWindow_view.findViewById(2131493350));
        ArrayList localArrayList1 = new ArrayList();
        HashMap localHashMap1 = new HashMap();
        localHashMap1.put("menuName", "全选");
        HashMap localHashMap2 = new HashMap();
        localHashMap2.put("menuName", "取消全部");
        localArrayList1.add(localHashMap1);
        localArrayList1.add(localHashMap2);
        SimpleAdapter localSimpleAdapter1 = new SimpleAdapter(this, localArrayList1, 2130903191, new String[] { "menuName" }, new int[] { 2131493503 });
        this.list.setAdapter(localSimpleAdapter1);
        this.list.setOnItemClickListener(new AdapterView.OnItemClickListener()
        {
          public void onItemClick(AdapterView<?> paramAnonymousAdapterView, View paramAnonymousView, int paramAnonymousInt, long paramAnonymousLong)
          {
            if (paramAnonymousInt == 0)
            {
              FindSmsRecord.this.popupWindows.dismiss();
              FindSmsRecord.this.setEvent(1);
              FindSmsRecord.this.addSms();
            }
            if (paramAnonymousInt == 1)
            {
              FindSmsRecord.this.popupWindows.dismiss();
              FindSmsRecord.this.setEvent(0);
              FindSmsRecord.this.removeSms();
            }
          }
        });
        return;
      }
    }
    catch (Exception localException)
    {
      localException.printStackTrace();
    }
  }

  public void onAttachedToWindow()
  {
    getWindow().setType(2004);
    super.onAttachedToWindow();
  }

  public void onBackPressed()
  {
    finish();
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903081);
    initActionBar();
    Intent localIntent = getIntent();
    this.per_num = localIntent.getStringExtra("NUM");
    this.TIMES = localIntent.getStringExtra("TIMES");
    this.times = Integer.valueOf(this.TIMES);
    initView();
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    switch (paramInt)
    {
    default:
    case 4:
    }
    do
      return super.onKeyDown(paramInt, paramKeyEvent);
    while ((this.popupWindow == null) || (!this.popupWindow.isShowing()));
    this.popupWindow.dismiss();
    this.popupWindow = null;
    return true;
  }

  protected void onResume()
  {
    super.onResume();
    if (this.lvList != null)
      this.adapter.notifyDataSetChanged();
  }

  class DataTask extends AsyncTask<String, Integer, String>
  {
    String param;

    DataTask()
    {
    }

    protected String doInBackground(String[] paramArrayOfString)
    {
      this.param = paramArrayOfString[0];
      RqSP localRqSP = new RqSP();
      String str1 = localRqSP.getLgDevAccount(FindSmsRecord.this);
      String str2 = localRqSP.getLgDevId(FindSmsRecord.this);
      try
      {
        if (this.param.equals("sms"))
        {
          FindSmsRecord.this.events = new SearchRecordService().getSmsList(str1, str2, FindSmsRecord.this.per_num, null, FindSmsRecord.this.page.getPageNo(), FindSmsRecord.this.page.getPageSize(), FindSmsRecord.this);
        }
        else if (this.param.equals("delsms"))
        {
          if (!FindSmsRecord.this.sel_all)
          {
            FindSmsRecord.this.bean = new SearchRecordService().delRecordList(str1, str2, FindSmsRecord.this.maplist, "DLSmsRecord", FindSmsRecord.this);
            return FindSmsRecord.this.bean.getDesc();
          }
          Log.v("FindSmsRecord", "new_maplist" + FindSmsRecord.this.new_maplist.size());
          FindSmsRecord.this.bean = new SearchRecordService().delRecordList(str1, str2, FindSmsRecord.this.new_maplist, "DLSmsRecord", FindSmsRecord.this);
          String str3 = FindSmsRecord.this.bean.getDesc();
          return str3;
        }
      }
      catch (IOException localIOException)
      {
        localIOException.printStackTrace();
      }
      catch (XmlPullParserException localXmlPullParserException)
      {
        localXmlPullParserException.printStackTrace();
      }
      catch (TimeOutException localTimeOutException)
      {
        localTimeOutException.printStackTrace();
      }
      catch (NotFoundNetWorkException localNotFoundNetWorkException)
      {
        localNotFoundNetWorkException.printStackTrace();
      }
      return null;
    }

    protected void onPostExecute(String paramString)
    {
      if (this.param.equals("sms"))
        if ((FindSmsRecord.this.events != null) && (FindSmsRecord.this.events.size() > 0))
        {
          FindSmsRecord.this.page.addAllEntries(FindSmsRecord.this.events);
          FindSmsRecord.this.adapter.notifyDataSetChanged();
          FindSmsRecord.this.lvList.onLoadMoreComplete();
          if (FindSmsRecord.this.events.size() < FindSmsRecord.this.page.getPageSize())
          {
            FindSmsRecord.this.lvList.hideFotterMoreView();
            FindSmsRecord.this.lvList.setIsNoMore(true);
          }
          FindSmsRecord.this.events.clear();
          FindSmsRecord.this.blDataTask = true;
        }
      while (true)
      {
        if (!FindSmsRecord.this.isFoot)
        {
          FindSmsRecord.this.closeProgress();
          FindSmsRecord.this.isFoot = false;
        }
        super.onPostExecute(paramString);
        return;
        FindSmsRecord.this.lvList.hideFotterMoreView();
        FindSmsRecord.this.lvList.setIsNoMore(true);
        break;
        if (this.param.equals("delsms"))
        {
          if ("0".equals(FindSmsRecord.this.bean.getCode()))
          {
            FindSmsRecord.this.page.getEntries().removeAll(FindSmsRecord.this.newlist);
            FindSmsRecord.this.adapter.notifyDataSetChanged();
            FindSmsRecord.this.alertMessage(FindSmsRecord.this.getResources().getString(2131427527));
            Log.v("FindSmsRecord", "page.getEntries().size() " + (Integer.valueOf(FindSmsRecord.this.TIMES).intValue() - FindSmsRecord.this.newlist.size()));
            if (FindSmsRecord.this.times.intValue() > FindSmsRecord.this.newlist.size())
            {
              FindSmsRecord localFindSmsRecord = FindSmsRecord.this;
              localFindSmsRecord.times = Integer.valueOf(localFindSmsRecord.times.intValue() - FindSmsRecord.this.newlist.size());
              FindRecord.SmsASI.setStimes(String.valueOf(FindSmsRecord.this.times));
              FindRecord.SmsASI.setScontent(((SmsBean)FindSmsRecord.this.page.getEntries().get(-1 + FindSmsRecord.this.page.getEntries().size())).getScontent());
            }
            while (true)
            {
              FindSmsRecord.this.maplist.clear();
              FindSmsRecord.this.newlist.clear();
              FindSmsRecord.this.adapter.notifyDataSetChanged();
              FindSmsRecord.this.alertMessage(FindSmsRecord.this.getResources().getString(2131427527));
              break;
              if (FindSmsRecord.this.times.intValue() == FindSmsRecord.this.newlist.size())
                FindRecord.SmsASI.setStimes("0");
            }
          }
          FindSmsRecord.this.alertMessage(FindSmsRecord.this.getResources().getString(2131427528));
        }
      }
    }

    protected void onPreExecute()
    {
      FindSmsRecord.this.blDataTask = false;
      if (!FindSmsRecord.this.isFoot)
        FindSmsRecord.this.showProgress("");
      super.onPreExecute();
    }
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.activity.FindSmsRecord
 * JD-Core Version:    0.6.2
 */